package com.sias.oj.model.dto.question;

import com.sias.oj.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 查询请求
 *
 * @author <a href="https://github.com/sogra">程序员sogra</a>
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QuestionQueryRequest extends PageRequest implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * id
   */
  private Long id;
  /**
   * 标题
   */
  private String title;
  /**
   * 内容
   */
  private String content;
  /**
   * 标签列表
   */
  private List<String> tags;
  /**
   * 题目答案
   */
  private String answer;
  /**
   * 创建用户 id
   */
  private Long userId;

}